<?php

use think\facade\Route;


Route::group('admin', function () {
    //权益列表
    Route::any('AdminRights/rightsList', 'AdminRights/rightsList');
    //添加权益
    Route::any('AdminRights/rightsAdd', 'AdminRights/rightsAdd');
    //权益详情
    Route::any('AdminRights/rightsInfo', 'AdminRights/rightsInfo');
    //权益编辑
    Route::any('AdminRights/rightsUpdate', 'AdminRights/rightsUpdate');
    //配置详情
    Route::any('AdminConfig/configInfo', 'AdminConfig/configInfo');
    //配置编辑
    Route::any('AdminConfig/configUpdate', 'AdminConfig/configUpdate');

    Route::any('AdminConfig/commissionSelect', 'AdminConfig/commissionSelect');
    //等级列表
    Route::any('AdminLevel/levelList', 'AdminLevel/levelList');
    //会员等级下拉框
    Route::get('AdminLevel/levelSelectV2', 'AdminLevel/levelSelectV2');
    //等级详情
    Route::any('AdminLevel/levelInfo', 'AdminLevel/levelInfo');
    //等级编辑
    Route::any('AdminLevel/levelUpdate', 'AdminLevel/levelUpdate');
    //同步银豹会员等级
    Route::get('AdminLevel/synLevel', 'AdminLevel/synLevel');
    //会员商品
    Route::any('AdminLevel/memberGoods', 'AdminLevel/memberGoods');
    //上下架
    Route::any('AdminLevel/statusUpdate', 'AdminLevel/statusUpdate');
    //等级下拉框
    Route::any('AdminLevel/levelSelect', 'AdminLevel/levelSelect');
    //优惠券下拉框
    Route::any('AdminLevel/memberCouponSelect', 'AdminLevel/memberCouponSelect');
    //会员权限
    Route::any('AdminMember/memberAuth', 'AdminMember/memberAuth');
    //会员列表
    Route::any('AdminMember/memberList', 'AdminMember/memberList');
    //会员详情
    Route::any('AdminMember/memberInfo', 'AdminMember/memberInfo');

    Route::any('AdminMember/waterList', 'AdminMember/waterList');
    //会员上下架
    Route::any('AdminMember/statusUpdate', 'AdminMember/statusUpdate');
    //修改成长值
    Route::any('AdminMember/updateGrowth', 'AdminMember/updateGrowth');

    Route::get('AdminMember/memberListExcel', 'AdminMember/memberListExcel');
    //会员等级下拉框
    Route::any('AdminLevel/memberLevelSelect', 'AdminLevel/memberLevelSelect');
    //储值列表
    Route::any('AdminStored/storedList', 'AdminStored/storedList');
    //储值添加
    Route::any('AdminStored/storedAdd', 'AdminStored/storedAdd');
    //储值详情
    Route::any('AdminStored/storedInfo', 'AdminStored/storedInfo');
    //储值编辑
    Route::any('AdminStored/storedUpdate', 'AdminStored/storedUpdate');
    //储值下拉框
    Route::any('AdminStored/storedSelect', 'AdminStored/storedSelect');
    //后台扣款
    Route::any('AdminStored/staffDeduction', 'AdminStored/staffDeduction');
    //同意提现
    Route::any('AdminStored/cashPass', 'AdminStored/cashPass');
    //拒绝提现
    Route::any('AdminStored/cashNoPass', 'AdminStored/cashNoPass');
    //提现记录
    Route::any('AdminStored/userCashList', 'AdminStored/userCashList');



});

Route::group('app', function () {
    //会员详情
    Route::any('IndexMember/memberInfo', 'IndexMember/memberInfo');
    //等级详情
    Route::any('IndexMember/levelInfo', 'IndexMember/levelInfo');
    //等级列表
    Route::any('IndexMember/levelList', 'IndexMember/levelList');
    //权益详情
    Route::any('IndexMember/rightsInfo', 'IndexMember/rightsInfo');
    //会员配置
    Route::any('IndexMember/memberConfig', 'IndexMember/memberConfig');

    Route::any('IndexMember/userMember', 'IndexMember/userMember');
    //储值套餐列表
    Route::any('IndexStored/storedList', 'IndexStored/storedList');
    //储值下单
    Route::any('IndexStored/payOrder', 'IndexStored/payOrder');

    Route::any('IndexStored/storedInfo', 'IndexStored/storedInfo');

    Route::any('IndexStored/storedMemberInfo', 'IndexStored/storedMemberInfo');

    Route::any('IndexStored/shareCouponInfo', 'IndexStored/shareCouponInfo');
    //员工扣款
    Route::any('IndexStored/staffDeduction', 'IndexStored/staffDeduction');

    Route::any('IndexStored/orderList', 'IndexStored/orderList');

    Route::any('IndexStored/applyTx', 'IndexStored/applyTx');

    Route::any('IndexStored/userCashList', 'IndexStored/userCashList');
    //二维码
    Route::any('IndexMember/memberQr', 'IndexMember/memberQr');


});

















